package com.qr.bean.wmyh;

import java.sql.Timestamp;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/11 13:02:30
 * 分离出查询实体
 */
@ApiModel(value = "jbr_user_comment", description = "用户评论表")
@TableName(value = "jbr_user_comment")
public class JbrUserCommentView implements Serializable {
	@ApiModelProperty(value = "")
	@TableId(type = IdType.AUTO,value = "id")
	@NotNull(message = "不能为空")
	private Integer id;
	@ApiModelProperty(value = "评论用户id")
	@TableField(value="user_id")
	private Integer user_id;
	@ApiModelProperty(value = "评论内容")
	@TableField(value="content")
	private String content;
	@ApiModelProperty(value = "点赞数")
	@TableField(value="num")
	private Integer num;
	@ApiModelProperty(value = "评论图片")
	@TableField(value="img")
	private String img;
	@ApiModelProperty(value = "商品id")
	@TableField(value="product_id")
	private Integer product_id;
	@ApiModelProperty(value = "是否展示 1展示 0不展示")
	@TableField(value="is_show")
	private String is_show;
	@ApiModelProperty(value = "最佳评论 1是 0否")
	@TableField(value="is_best")
	private String is_best;
	@ApiModelProperty(value = "添加时间")
	@TableField(value="add_time")
	private Timestamp add_time;

 
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
 
	public Integer getUser_id() {
		return user_id;
	}
	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}
 
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
 
	public Integer getNum() {
		return num;
	}
	public void setNum(Integer num) {
		this.num = num;
	}
 
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
 
	public Integer getProduct_id() {
		return product_id;
	}
	public void setProduct_id(Integer product_id) {
		this.product_id = product_id;
	}
 
	public String getIs_show() {
		return is_show;
	}
	public void setIs_show(String is_show) {
		this.is_show = is_show;
	}
 
	public String getIs_best() {
		return is_best;
	}
	public void setIs_best(String is_best) {
		this.is_best = is_best;
	}
 
	public Timestamp getAdd_time() {
		return add_time;
	}
	public void setAdd_time(Timestamp add_time) {
		this.add_time = add_time;
	}

}